package com.crm.service.csd.reviewManager;

import com.crm.model.entity.csd.reviewManager.PutOnRecordInformation;
import com.crm.model.entity.csd.reviewManager.PutOnRecordInformationExample;
import com.crm.model.qo.csd.reviewManager.PutOnRecordInformationQO;
import com.crm.model.vo.csd.reviewManager.PutOnRecordInformationVO;

import java.util.List;

/**
 * @author yincuimei
 * @Date 2021/8/10 8:54
 * (客服部)-审核管理-》备案信息
 */
public interface PutOnRecordInformationDbService {
    /**
     * 备案信息列表
     * @param putOnRecordInformationQO --查询条件
     * @param orderStr                 --排序
     * @return
     * @author yincuimei
     */
    List<PutOnRecordInformationVO> selectPutOnRecordInformationVOList(PutOnRecordInformationQO putOnRecordInformationQO,String orderStr);

    /**
     * 新增备案信息
     * @param putOnRecordInformation  --新增备案信息实体类
     * @author yincuimei
     * @return
     */
    Boolean insertPutOnRecordInformation(PutOnRecordInformation putOnRecordInformation);

    /**
     * 新增时查询备案信息是否重复(企业名、企业信用代码)
     * @param putOnRecordInformationExample
     * @author yincuimei
     * @return
     */
    Boolean selectPutOnRecordInformationIsRepeat(PutOnRecordInformationExample putOnRecordInformationExample);
}
